{% extends 'base.html' %}
{% block content %}
<div class="card" style="max-width:600px;margin:40px auto;padding:30px 40px;box-shadow:0 2px 12px #eee;border-radius:12px;">
  <h2 style="margin-bottom:24px;">请选择客户</h2>
  <form method="get" action="{% url 'renew_select_cards' %}">
    <label for="customer_id">客户:</label>
    <select name="customer_id" id="customer_id" class="form-control" style="min-width:180px;">
      <option value="">请选择</option>
      {% for customer in customers %}
      <option value="{{ customer.id }}">{{ customer.username }}</option>
      {% endfor %}
    </select>
    <button type="submit" class="btn btn-success" style="margin-top:24px;width:120px;">下一步</button>
  </form>
</div>
{% endblock %}
